export const tableOption = [
    {
        title: '序号',
        scopedSlots: { customRender: 'indexLabel' },
        width:80,
        align: 'center',
    },
    {
        title: '类目名称',
        dataIndex: 'categoryName',
        
    },
    {
        title: '图标',
        dataIndex: 'categoryIcon',
        
        scopedSlots: { customRender: 'img' }
    },
    {
        title: '排序',
        dataIndex: 'sortNum',
        
    },
    {
        title: '前台显示',
        dataIndex: 'showFlag',
        
        scopedSlots: { customRender: 'switch' }
    },
    {
        title: '操作',
        dataIndex: 'action',
        scopedSlots: { customRender: 'action' },
        
        fixed: 'right',
        width: 180,
    }
]